<?xml version='1.0'?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<dialog title="Ultima Spell &amp; thievery Operations Manager" id="Ultima_Operations_Manager" style="width:600px; direction:ltr;" 
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onfocus="Clear_Operationss();Populate_Operationss();">

<vbox flex="1">

<tree flex="1" hidecolumnpicker="false" enableColumnDrag="true" style="height:150px" id="Operations_Tree" onselect="Update_Buttons()">

<treecols>

<treecol id="Head_Row_Num"   label="ID"        width="20"  persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Date"      label="Date"      width="120" persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Type"      label="Type"      width="50"  persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Operation" label="Operation" width="120" persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Target"    label="Target"    width="120" persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Result"    label="Result"    width="50"  persist="width ordinal hidden" /><splitter class="tree-splitter" />
<treecol id="Head_Message"   label="Message"   width="120" persist="width ordinal hidden" flex="1" />
</treecols>

<treechildren id="Tree_Children_Operations"></treechildren>

</tree>

<vbox>

<hbox flex="1">
</hbox>

<hbox flex="1">
<groupbox flex="1"><caption label="Show Operation Type" />
<radiogroup>
<hbox>
<radio label="Self Spell" oncommand="Show_Operation_Type(0)" />
<radio label="Sorcery"    oncommand="Show_Operation_Type(1)" />
<radio label="Thievery"   oncommand="Show_Operation_Type(2)" />
<radio label="All"        oncommand="Show_Operation_Type(3)" selected="true" />
</hbox>
</radiogroup>
</groupbox>

<groupbox flex="1"><caption label="Show Message Type" />
<radiogroup>
<hbox>
<radio label="Good" oncommand="Show_Message_Type(0)" />
<radio label="Bad"  oncommand="Show_Message_Type(1)" />
<radio label="Both" oncommand="Show_Message_Type(2)" selected="true" />
</hbox>
</radiogroup>
</groupbox>

</hbox>

<hbox flex="1">
<groupbox flex="1">
<hbox>
<button id="Operations_Copy_Button"          label="Copy Message"      oncommand="Copy_Operations()"       disabled="true" />
<button id="Operations_Copy_Row_Button"      label="Copy Row"          oncommand="Copy_Row_Operations()"   disabled="true" />
<button id="Operations_Remove_Button"        label="Remove Row"        oncommand="Remove_Operations()"     disabled="true" />
<button id="Operations_Copy_All_Button"      label="Copy All Messages" oncommand="Copy_All_Operations()"                   />
<button id="Operations_Copy_All_Rows_Button" label="Copy All Rows"     oncommand="Copy_All_Row_Operations()"               />
<button id="Operations_Remove_All_Button"    label="Remove All Rows"   oncommand="Remove_All_Operations()"                 />
</hbox>
</groupbox>
</hbox>

</vbox>

</vbox>

<script type="text/javascript" src="chrome://Ultima/content/Ultima_Operations_Manager.js"></script>

</dialog>